package bit.mybatisdemo.demos.mapper;


import bit.mybatisdemo.demos.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapperXML {

    List<UserInfo> selectAll();
    List<UserInfo> selectAll2();
    Integer insertUser(UserInfo userInfo);
   // Integer user(UserInfo userInfo);//隐藏命名规范，statement会显示update

    Integer insertUser2(@Param("userInfo") UserInfo userInfo);

    Integer deleteUserById(Integer id);


}
